package pers.wz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "netty")
@EnableConfigurationProperties(NettyConfig.class)
@Data
public class NettyConfig {
    private int port;
    private String path;
}
